<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>活动-一尺三寸</title>
	[#include "/theme/adminlte/common/sites.html" /]
	[@header /]
</head>
<!-- ADD THE CLASS layout-top-nav TO REMOVE THE SIDEBAR. -->
<body class="hold-transition skin-blue layout-top-nav">
<div class="wrapper">

	<header class="main-header">
		[@nav  4 /]
	</header>
	<!-- Full Width Column -->
	<div class="content-wrapper">
		<div class="container">

			<div class="row">

				<div class="col-xs-12 col-sm-9">
					<p class="pull-right visible-xs">
						<button type="button" class="btn btn-primary btn-xs"
								data-toggle="offcanvas">Toggle nav</button>
					</p>
					<div class="jumbotron">
						<h1>爱玩社区</h1>
						<p>爱玩社区是一个提供大家交流的地方，全部代码开源。我为人人，人人为我！塑造一种开源骑士精神！</p>
					</div>
					[#if activitys??]
					[#list activitys as item]
					<div class="row">
						<div class="col-xs-12 col-lg-12">
							<h2>${item.name!""}</h2>
							<p>
								<a class="btn btn-default pull-right" href="${siteurl}activity/view/${item.id}.htm" role="button">点击查看更多 &raquo;</a>
							</p>
						</div>
					</div>
					<hr>
					[/#list]
					[/#if]
					<!--/row-->
				</div>
				<!--/.col-xs-12.col-sm-9-->

				<div class="col-xs-6 col-sm-3" id="sidebar">
					<div class="list-group">
						[#if catalogs??]
						[#list catalogs as item  ]
						<a href="${siteurl}activity/catalog.htm?id=${item.id}" class="list-group-item ">${item.name!""} (${item.nums!"0"})</a>
						[/#list]
						[/#if]
					</div>
				</div>
				<!--/.sidebar-offcanvas-->
			</div>
			<!--/row-->

			<hr>

			[@footer /]

		</div>

		<!-- /.container -->
	</div>
	<!-- /.content-wrapper -->

	[@footer /]
</div>
<!-- ./wrapper -->

[@scripts /]
</body>
</html>
